#include "UseShape.h"

// 
UseShape::UseShape(std::shared_ptr<Shape> shape)
:m_shape_(shape)
{}

void UseShape::operation() {
    if(nullptr == m_shape_) {
        return ;
    }
    m_shape_->area();
}